<script setup lang="ts">
import { onLaunch, onShow, onHide } from '@dcloudio/uni-app';
import { useAuthStore } from '@/state/modules/auth';

onLaunch(() => {});
onShow(() => {
    const authStore = useAuthStore();
    authStore.initToken();
});
onHide(() => {
    console.log('App Hide');
});
</script>
<style lang="scss">
@import '@/assets/main.scss';
.container {
    min-height: 100vh;
}
.p-40 {
    padding: 40rpx;
}
.mt-20 {
    margin-top: 20rpx;
}
.mt-30 {
    margin-top: 30rpx;
}
.mt-40 {
    margin-top: 40rpx;
}
.empty {
    width: 100%;
    text-align: center;
}
</style>
